data handling in r studio